package cn.uway.utils;

/**
 * 公共变量
 * @author lyr 2016.1.6
 * @version 0.1
 */
public class PubValue {
	
	public static String RET_CODE_SUCCESS = "SUCCESS";
	public static String RET_CODE_FAILED = "FAILED";
	
	public static String RET_DATA_KEY = "RET_DATA";
	public static String RET_CODE_KEY = "RET_CODE";
	public static String RET_MSG_KEY = "RET_MSG"; 
	
	//控制一个账号登录，踢下线
	public static String CACHE_PREFIX_SINGLE_LOGIN = "shiro:single_login:";
	
	
	//登录Session信息的前缀
	public static String SESSIONKEY_USER_INFO = "USER_INFO";
	//登录Session信息的前缀
	public static String SESSIONKEY_LOGIN_ID = "LOGIN_ID";
	
	
}
